package com.seselin.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class StartActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        startApplication();
        finish();
    }

    private void startApplication() {//TODO 启动测试 Activity
//        goActivity(TestSmartRefreshActivity.class);
        goActivity(VideoViewActivity.class);
//        String url = "https://q.eqxiu.com/s/4AfgRWPE";
//        WebViewActivity.init(this);
//        WebViewActivity.startWebView(this, url);
//        goActivity(ViewListActivity.class);
//        goActivity(BrowserActivity.class);
    }

    public void goActivity(Class<?> cls) {
        Intent intent = new Intent(this, cls);
        startActivity(intent);
    }

}
